home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Tools / Preditor 2.0 / Preditor Folder / LDC Source / Macro.ldf < prev    next >
Encoding:
Text File  |  1991-07-22  |  1.9 KB  |  49 lines  |  [TEXT/TCEd]

  1. #--------------------------------------------------------------
  2. #          Description of the Preditor Macro language
  3. #
  4. #  by Thomas Carstensen                        May 14, 1989
  5. #--------------------------------------------------------------
  6.  
  7. LANGUAGE Macro
  8.  
  9. EXTENSION .mac .mcr .m
  10.  
  11. COMMENT ONELINE '#' '¬'        50
  12. COMMENT /* */
  13.  
  14. BRACKET [ ]
  15. BRACKET ( )
  16. BRACKET If End
  17. BRACKET While End
  18. Bracket For End
  19.  
  20. QUOTE ' '
  21. QUOTE " "
  22.  
  23. RESERVED  activate     addmenu     alert       align       arrange     \
  24.           autosave     bracket     break       case        clear       \
  25.           clipboard    close       collapse    confirm     continue    \
  26.           convert      copy        cut         date        delete      \
  27.           deleteformat deletemenu  echo        else        elseif      \
  28.           end          endmenu     execute     expand      export      \
  29.           for          format      getlistitem glossary    goto        \
  30.           help         hide        if          impossibles insert      \
  31.           key          label       language    length      macrodir    \
  32.           mark         markers     match       new         newformat   \
  33.           null         open        pcmd        pageformat  paste       \
  34.           placecomment placewindow position    print       quit        \
  35.           redo         reformat    rename      request     return      \
  36.           revert       save        search      select      setbrackets \
  37.           setdir       shift       splitwindow substring   tab         \
  38.           target       template    transpose   undo        undolevel   \
  39.           unexport     unmark      valid       while       windows     \
  40.           zoomwindow
  41.  
  42. DESCRIPTION " The Macro Programming Lanuage        written by Thomas Carstensen" \
  43.              "                     Monday, May 29, 1989"
  44.  
  45. TEMPLATES
  46.     If        -> 'If (' ^ ')' [1] ^ [-1] End
  47.     While    -> 'While (' ^ ')' [1] ^ [-1] End
  48.     For      -> 'For (' ^ ', ' ^ ')' [1] ^ [-1] End
  49.